/*
 * 本文件定义项目信息
 * 以供外部使用
 *
 **/

import { defineStore } from 'pinia';

export interface ProjectInfo {
  projectName: string;
  projecVersion: string;
  projecDescription: string;
}

export const useProjectStore = defineStore('project', {
  state: () => ({

    projectInfo: {
      projectName: '大学生网络教学平台',
      projecVersion: '1.0.0',
      projecDescription: '大学生网络教学平台',

    } as ProjectInfo,
  }),

  getters: {
    getProjectName: (state) => state.projectInfo.projectName,
    getProjecVersion: (state) => state.projectInfo.projecVersion,
    getProjecDescription: (state) => state.projectInfo.projecDescription,
  },
});